package com.fofia.iotweb.web.dbdomain.models.iot;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "iot_tags")
public class IotTags {
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private int id;


    /// <summary>
    /// 客户id
    /// </summary>
    @Column(value = "client_id")
    private String clientId;

    /// <summary>
    /// 标签id
    /// </summary>
    @Column(value = "tag_id")
    private String tagId;


    /// <summary>
    /// 插入时间
    /// </summary>
    @Column(value = "create_time")
    private Date createTime;

}
